package exer;

import java.util.Comparator;

/**
 * @author tongchen
 * @create 2022-11-06 11:05
 */
public class ComparWithScore implements Comparator<Student> {


    @Override
    public int compare(Student o1, Student o2) {
        return (int)(o1.score-o2.score);
    }
}
